<?php

abstract class Mvp_Web_Application extends Web_Application
{
    public function __construct()
    {
        parent::__construct();
        $this->logger->log('Mvp Web Application Constructor Fired', Log::INFO);
        
        //Mvp Instance
        $this->mvp = $this->engine->load('Mvp');
        $this->mvp->setController($_GET['page']);
        $this->logger->log('MVP Component is loaded', Log::INFO);
        //End of Mvp Instance
    }
    
    public function run() 
    {
        $this->mvp->disPatch();
    }
}

?>